<%@ page language="java" import="java.util.*,com.enterprise.daoImpl.*,com.enterprise.domain.*" pageEncoding="UTF-8"%>
<%@include file="Inc/Head.jsp" %>
<%
	NodeDaoImpl nodeDaoImpl=new NodeDaoImpl();
	Node node=nodeDaoImpl.getNode(Integer.parseInt(pageContext.getRequest().getParameter("id")));
	Node parent=nodeDaoImpl.getNode(node.getParentId());
	
 %>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"><table width="80%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td align="center" valign="top"> <br> <strong>新 闻 类 别 设 置</strong> <br> 
            <form name="form1" method="post" action="node-update.action">
              <p>&nbsp;</p>
              <table width="350" border="0" align="center" cellpadding="0" cellspacing="2" class="border">
                <tr bgcolor="#A4B6D7" class="title"> 
                  <td height="25" colspan="2" align="center"><strong>修改小类名称</strong></td>
                </tr>
                <tr class="tdbg"> 
                  <td width="126" height="22" bgcolor="#C0C0C0"><strong>所属大类：</strong></td>
                  <td width="204" bgcolor="#E3E3E3"><%=parent.getClassName()%>  
                   <%--  <input name="OldSmallClassName" type="hidden" id="OldSmallClassName" value="<%=rs("SmallClassName")%>"> --%> 
                    <input name="id" type="hidden" id="className" value="<%=node.getId()%>"></td>
                </tr>
                <tr class="tdbg"> 
                  <td height="22" bgcolor="#C0C0C0"><strong>小类名称：</strong></td>
                  <td bgcolor="#E3E3E3"> <input name="className" type="text" id="SmallClassName" value="<%=node.getClassName()%>" size="20" maxlength="30"></td>
                </tr>
                <tr class="tdbg"> 
                  <td height="22" align="center" bgcolor="#C0C0C0">&nbsp;</td>
                  <td align="center" bgcolor="#E3E3E3"> <div align="left"> 
                      <input  type="hidden" id="Action4" value="Modify">
                      <input  type="submit" id="Save" value=" 修 改 ">
                    </div></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table>
 </td>
  </tr>
</table>
<%@include file="Inc/Foot.jsp" %>